package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Room;
import cn.wolfcode.trip.base.query.QueryObject;
import java.util.List;

public interface RoomMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Room record);

    Room selectByPrimaryKey(Long id);

    List<Room> selectAll();

    int updateByPrimaryKey(Room record);

    List<Room> queryForList(QueryObject qo);

    List<Room> listRoomByHotleId(Long hotelId);

    void changeSumById(Long id);

    Room queryCurrentSum(Long id);
}